package com.sjgtw.cloud.web.rainfall.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 降雨预警对象 t_eg_rainfall_warning
 * 
 * @author lvyoufang
 * @date 2024-03-17
 */
@ApiModel(value="降雨预警对象", description="t_eg_rainfall_warning")
public class RainfallWarning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 巡查单位id */
    @ApiModelProperty(value = "巡查单位id")
    @Excel(name = "巡查单位id")
    private Long unitId;

    /** 雨量计id */
    @ApiModelProperty(value = "雨量计id")
    @Excel(name = "雨量计id")
    private Long gaugeId;

    /** 巡查单位名称 */
    @ApiModelProperty(value = "巡查单位名称")
    @Excel(name = "巡查单位名称")
    private String unitName;

    /** 预警时间 */
    @ApiModelProperty(value = "预警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预警时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date warningTime;

    /** 预警类型 */
    @ApiModelProperty(value = "预警类型")
    @Excel(name = "预警类型")
    private String warningType;

    /** 雨量计地点 */
    @ApiModelProperty(value = "雨量计地点")
    @Excel(name = "雨量计地点")
    private String location;

    /** 10分钟/mm */
    @ApiModelProperty(value = "10分钟/mm")
    @Excel(name = "10分钟/mm")
    private String tenMins;

    /** 1小时/mm */
    @ApiModelProperty(value = "1小时/mm")
    @Excel(name = "1小时/mm")
    private String anHour;

    /** 日/mm */
    @ApiModelProperty(value = "日/mm")
    @Excel(name = "日/mm")
    private String oneDay;

    /** 责任人 */
    @ApiModelProperty(value = "责任人")
    @Excel(name = "责任人")
    private String responsibleUser;

    /** 责任人 */
    @ApiModelProperty(value = "责任人")
    @Excel(name = "责任人")
    private String responsibleUserId;

    /** 状态 */
    @ApiModelProperty(value = "状态")
    @Excel(name = "状态")
    private String status;

    /** 创建人id */
    @ApiModelProperty(value = "创建人id")
    @Excel(name = "创建人id")
    private Long createUserId;

    /** 处理人 */
    @ApiModelProperty(value = "处理人id")
    @Excel(name = "处理人id")
    private String processUserIds;

    /** 区段id */
    @Excel(name = "区段id")
    @ApiModelProperty("区段id")
    private Long sectionId;
    private String section;

    /** 工区id */
    @Excel(name = "工区id")
    @ApiModelProperty("工区id")
    private Long workAreaId;
    private String workArea;

    private String taskType;
    private String systemSoure;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Long getGaugeId() {
        return gaugeId;
    }

    public void setGaugeId(Long gaugeId) {
        this.gaugeId = gaugeId;
    }

    public void setUnitId(Long unitId)
    {
        this.unitId = unitId;
    }

    public Long getUnitId()
    {
        return unitId;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setWarningTime(Date warningTime) 
    {
        this.warningTime = warningTime;
    }

    public Date getWarningTime() 
    {
        return warningTime;
    }
    public void setWarningType(String warningType) 
    {
        this.warningType = warningType;
    }

    public String getWarningType() 
    {
        return warningType;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setTenMins(String tenMins) 
    {
        this.tenMins = tenMins;
    }

    public String getTenMins() 
    {
        return tenMins;
    }
    public void setAnHour(String anHour) 
    {
        this.anHour = anHour;
    }

    public String getAnHour() 
    {
        return anHour;
    }
    public void setOneDay(String oneDay) 
    {
        this.oneDay = oneDay;
    }

    public String getOneDay() 
    {
        return oneDay;
    }
    public void setResponsibleUser(String responsibleUser) 
    {
        this.responsibleUser = responsibleUser;
    }

    public String getResponsibleUser() 
    {
        return responsibleUser;
    }
    public void setResponsibleUserId(String responsibleUserId)
    {
        this.responsibleUserId = responsibleUserId;
    }

    public String getResponsibleUserId()
    {
        return responsibleUserId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    public String getProcessUserIds() {
        return processUserIds;
    }

    public void setProcessUserIds(String processUserIds) {
        this.processUserIds = processUserIds;
    }

    public Long getSectionId() {
        return sectionId;
    }

    public void setSectionId(Long sectionId) {
        this.sectionId = sectionId;
    }

    public Long getWorkAreaId() {
        return workAreaId;
    }

    public void setWorkAreaId(Long workAreaId) {
        this.workAreaId = workAreaId;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getSystemSoure() {
        return systemSoure;
    }

    public void setSystemSoure(String systemSoure) {
        this.systemSoure = systemSoure;
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public String getWorkArea() {
        return workArea;
    }

    public void setWorkArea(String workArea) {
        this.workArea = workArea;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unitId", getUnitId())
            .append("unitName", getUnitName())
            .append("warningTime", getWarningTime())
            .append("warningType", getWarningType())
            .append("location", getLocation())
            .append("tenMins", getTenMins())
            .append("anHour", getAnHour())
            .append("oneDay", getOneDay())
            .append("responsibleUser", getResponsibleUser())
            .append("responsibleUserId", getResponsibleUserId())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createUserId", getCreateUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
